package com.zy.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zy.business.domain.TbOverwork;
import com.zy.business.domain.vo.OverworkDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
* @Description: 加班Mapper接口
* @Author: zhangxiaojia
* @Date: 2020/3/30
*/
public interface OverworkMapper extends BaseMapper<TbOverwork> {

    List<TbOverwork> list(OverworkDto overworkDto);

    TbOverwork getDetail(Long overworkId);

    Map<String, Object> getOverWorkData(@Param("userId") Long userId, @Param("type") Integer type);
}
